package com.neusoft.elm.dao;

import java.util.List;

import com.neusoft.elm.po.Business;

public interface BusinessDao {
	//所有商家列表
	public List<Business> listBusiness(String businessName,String businessAddress);
	
	//新建商家
	public int saveBusiness(String businessName);
	
	//删除商家
	public int removeBusiness(int businessId);
	
	//商家登录
	public Business getBusinessByIdByPassword(Integer businessId,String password);
	
	//查看商家信息
	public Business showBusiness(Integer businessId);
	
	//修改商家信息
	public int updateBusiness(Business business);
	
	//更新密码
	public int updateBusinessPassword(Integer businessId,String password);
	
	
}
